package org.kele.k8s.sc2020.provider;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@EnableMethodCache(basePackages = "org.kele.k8s")
@EnableCreateCacheAnnotation
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = "org.kele")
public class ProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderApplication.class, args);
    }
}
